]> dgit.raspbian.org Git - gnome-shell.git/commit
network: Clear connectivity queue after portal login
authorMichael Catanzaro <mcatanzaro@redhat.com>
Mon, 28 Jul 2025 11:38:51 +0000 (13:38 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sun, 3 Aug 2025 19:15:28 +0000 (19:15 +0000)
commitb8b690eb88db034b606e51cff64741557a72fc86
tree9d2f57882f83f858b09a9c889de5fdd012ee449a
parentc9a93ec66ee722d58aeb3727eb7d606b3704b79b
network: Clear connectivity queue after portal login

When full connectivity (or rather, non-portal connectivity) is achieved,
we can clear all active portal helpers.

Normally, the portal helper will signal that it is done, but it is
implemented in a racy manner. So here let's do a comprehensive big
hammer solution to guarantee the portal helper definitely gets
eventually closed even if we miss the race window in the portal helper.
(The race is: the portal helper checks connectivity status either
immediately or within a certain amount of time after a navigation policy
decision. This could theoretically be too soon, and if missed, it won't
be rescheduled.)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3813>
js/ui/status/network.js